<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>天普订餐系统</title>
    <link rel="shortcut icon" href="favicon.ico"> 
	<link href="../media/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="../media/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <!-- jqgrid-->
    <link href="../media/css/plugins/jqgrid/ui.jqgridffe4.css?0820" rel="stylesheet">

	<link href="../media/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
	
    <link href="../media/css/animate.min.css" rel="stylesheet">
    <link href="../media/css/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
		 <div class="row">
			 <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>订餐记录</h5>
					</div>
					<div class="ibox-content">
                        <div class="row">
                            <div class="col-sm-2">
                                <div class="input-group">
                                    <input type="text" placeholder="选择日期" class="input-sm form-control">
                                </div>
                            </div>
							<div class="col-sm-2">
                                <div class="input-group">
                                    <button type="button" class="btn btn-sm btn-primary"> 搜索</button> 
                                </div>
                            </div>
						</div>
					</div>
				</div>
			</div>
		 </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>早餐</h5>
						<a style="float:right">共计：12份</a>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-striped table-bordered table-hover " id="editable1">
                            <thead>
                                <tr>
                                    <th rowspan="2">部门</th>
                                    <th colspan="2">公司</th>
                                    <th colspan="2">客餐</th>
                                </tr>
								<tr>
                                    <th>员工餐厅</th>
                                    <th>高管餐厅</th>
									<th>员工餐厅</th>
                                    <th>高管餐厅</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr class="gradeX">
                                    <td>CEO办公室</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>企业传讯</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>人力资源部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>国际业务部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>资讯部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
                                
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
		<div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>午餐</h5>
						<a style="float:right">共计：12份</a>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-striped table-bordered table-hover " id="editable2">
                            <thead>
                                <tr>
                                    <th rowspan="2">部门</th>
                                    <th colspan="2">公司</th>
                                    <th colspan="2">客餐</th>
                                </tr>
								<tr>
                                    <th>员工餐厅</th>
                                    <th>高管餐厅</th>
									<th>员工餐厅</th>
                                    <th>高管餐厅</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr class="gradeX">
                                    <td>CEO办公室</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>企业传讯</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>人力资源部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>国际业务部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>资讯部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
                                
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
		<div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>晚餐</h5>
						<a style="float:right">共计：12份</a>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-striped table-bordered table-hover " id="editable3">
                            <thead>
                                <tr>
                                    <th rowspan="2">部门</th>
                                    <th colspan="2">公司</th>
                                    <th colspan="2">客餐</th>
                                </tr>
								<tr>
                                    <th>员工餐厅</th>
                                    <th>高管餐厅</th>
									<th>员工餐厅</th>
                                    <th>高管餐厅</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr class="gradeX">
                                    <td>CEO办公室</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>企业传讯</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>人力资源部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>国际业务部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
								<tr class="gradeX">
                                    <td>资讯部</td>
                                    <td>12</td>
                                    <td>21</td>
									<td>12</td>
                                    <td>21</td>
                                </tr>
                                
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
        
    </div>
    <script src="../media/js/jquery.min63b9.js?v=2.1.4"></script>
    <script src="../media/js/bootstrap.min14ed.js?v=3.3.6"></script>
    <script src="../media/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="../media/js/plugins/jqgrid/i18n/grid.locale-cnffe4.js?0820"></script>
    <script src="../media/js/plugins/jqgrid/jquery.jqGrid.minffe4.js?0820"></script>
    <script src="../media/js/content.mine209.js?v=1.0.0"></script>
	

    <script src="../media/js/plugins/jeditable/jquery.jeditable.js"></script>
    <script src="../media/js/plugins/dataTables/jquery.dataTables.js"></script>
    <script src="../media/js/plugins/dataTables/dataTables.bootstrap.js"></script>
	
	<script>
        $(document).ready(function(){
			var oTable=$("#editable1,#editable2,#editable3").dataTable();
			oTable.$("td").editable("http://www.zi-han.net/theme/example_ajax.php",{"callback":function(sValue,y){
				var aPos=oTable.fnGetPosition(this);
				oTable.fnUpdate(sValue,aPos[0],aPos[1])
			},
			"submitdata":function(value,settings){
				return{"row_id":this.parentNode.getAttribute("id"),
						"column":oTable.fnGetPosition(this)[2]
					}
			},
			"width":"90%",
			"height":"100%"})
			});
    </script>
</body>
</html>
